<h1>Editar Informaci&oacute;n de Cubierta</h1>

<?php
    echo $this->Form->create('ServiceOrderRow', array('action' => 'edit'));
    echo $this->Form->input('id', array('type' => 'hidden'));
    $tipos = array('A' => 'A', 'B'=>'B', 'C'=>'C', 'D'=>'D', 'F'=>'F', 'G'=>'G'); 
    echo $this->Form->create('ServiceOrderRow'); 
	echo $this->Form->input('service_order_id',  array('type' => 'hidden'));
    ?>
<table class = "table table-striped">
    <tr>
        <td class="title">Tipo: </td>
        <td class="text"><?php echo $this->Form->input('tipo',array('type'=>'select', 'options'=>$tipos, 'empty'=>'Tipo' ,'label' => false)); ?></td>
    </tr>
     <tr>
        <td class="title">Medida: </td>
        <td class="text"><?php echo $this->Form->input('medida',array('label' => false)); ?></td>
    </tr>
    <tr>
        <td class="title">N&uacute;mero de serie: </td>
        <td class="text"><?php echo $this->Form->input('numero_de_serie',array('label' => false)); ?></td>
    </tr>
    <tr>
        <td class="title">Tipo de Trabajo: </td>
        <td class="text"><?php echo $this->Form->input('tipo_de_trabajo',array('label' => false)); ?></td>
    </tr>
    <tr>
        <td class="title">Observaci&oacute;n: </td>
        <td class="text"><?php echo $this->Form->input('observacion',array('label' => false)); ?></td>
    </tr>
    <tr>
        <td class="title">Apta: </td>
        <td class="text"><?php  echo $this->Form->select('apta',array( 0=>'No Apta',1 => 'Apta'),array('empty' => false, 'label' => false)); ?></td>
    </tr>
    <tr>
        <td class="title">Razon para no ser apta: </td>
        <td class="text"><?php echo $this->Form->input('razon_no_apta', array('label' => false,'dateFormat' => 'DMY')); ?></td>
    </tr>
    <tr>
       
        <td colspan="2" class="button"><?php echo $this->Form->end('Guardar'); ?></td>
    </tr>

</table>


